package com.viu.technology.dao;

import com.viu.technology.mapper.OrderMapper;
import com.viu.technology.po.Order;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

@Repository
public class OrderDao {

    @Autowired
    private OrderMapper orderMapper;

    public int insertOrder(Order order) {
        return orderMapper.insert(order);
    }

}
